package com.sjzl.service;

import java.util.List;

import com.sjzl.entity.Board;

public interface BoardService extends BaseService<Board> {
	/**
	 * 获取版块导航条列表
	 * @param board_id
	 * @return
	 */
	public List<Board> getBoardNav(Integer board_id);
	
	/**
	 * 获取ID为board_id的版块的子版块列表
	 * @param board_id
	 * @return
	 */
	public List<Board> getSubBoardListByBoardId(Integer board_id);
	
	/**
	 * 根据名字获取版块
	 * @param boardName
	 * @return
	 */
	public Board getBoardByName(String boardName);
}
